package com.qf.web.common.api.product;

import com.qf.common.dto.product.CategoryDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author KING
 * @ClassName: com.qf.common.api.product.CategoryApi
 * @Description: 该类的功能描述
 * @date: 2021/11/11 10:53
 */
@FeignClient(value = "business-product", path = "/category")
public interface CategoryApi {
    @GetMapping("/list")
    List<CategoryDto> getCategories();
}
